<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>

<html>
	<head>
		<meta http-equiv="Refresh" content="0; URL=${URL}" /> 
		<s:if test="webInfo.actionStatus == 'success'">
			<script>
				var info = '';
				<s:iterator id="info" value="webInfo.infoList" status="dataStatus" >
				 info += '\n<s:property value="info"/>';
				</s:iterator>
				if(info!=null&&info!=''){
				 		alert(info);
				}else{
					alert("操作成功！");
				}
			</script>
		</s:if>
		<s:elseif test="webInfo.actionStatus == 'failure'">
			<script>
				var info = '';
				<s:iterator id="info" value="webInfo.infoList" status="dataStatus" >
				 info += '\n<s:property value="info"/>';
				</s:iterator>
				if(info!=null&&info!=''){
				 		alert(info);
				}else{
					alert("操作失败！");
				}
			</script>
		</s:elseif>
	</head>
	<body></body>
</html>